from .model_base import *


class UserProfile(BaseTable):
    # __database__ = "db1"
    id = fields.IntField(pk=True, description="用户ID")
    user_name = fields.CharField(max_length=255, description="用户名称")
    user_age = fields.IntField(max_length=255, description="用户年龄")
    user_sex = fields.IntField(description="用户性别")

    class Meta:
        table = 'user_profile'  # 数据库中的表名称
        table_description = '用户画像表'
